<template>
  <el-form-item label="环境">
    <el-select v-model="form.envname" placeholder="请选择运行环境">
      <el-option v-for="item in opations" :key="item" :label="item" :value="item"/>
    </el-select>
  </el-form-item>
</template>

<script setup lang="ts">
import {onMounted, ref,reactive} from 'vue'
import {env} from '@/view/dashboard/laboratory/env_api'
onMounted(async () => {
  ListEnv()
})
const tableData = ref([])
const form = reactive({
  envname:"",
})
const opations = []
const ListEnv = async () => {
  var res = await env.List()
  tableData.value = res.data

}
</script>

<style scoped>

</style>